﻿<%@ Page Title="" Language="C#" MasterPageFile="my-account.master" AutoEventWireup="true" CodeBehind="change-password.aspx.cs" Inherits="SocialShare.Web.My_Account.change_password" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <section id="divMessage" runat="server" visible="false">
        <asp:Literal ID="lblMessage" runat="server"></asp:Literal>
    </section>
     <section class="grid_8">
            <fieldset>
            <legend class="title-regular">Change my password</legend>
            <section class="grid_8 text-align-right omega">
            <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" 
                CommandName="Update" Text="Update"  CssClass="button small green" />
            &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" 
                CausesValidation="False" CommandName="Cancel" Text="Cancel" CssClass="button small red" />
              
               </section>
           <section class="grid_2 alpha">
            <label>Old Password:</label>
           </section>
           <section class="grid_6 omega">
            <input type="text" id="txtOldPassrord" name="txtOldPassrord" runat="server" placeholder="password you are using now" class="text"  />
            <asp:RequiredFieldValidator ID="rfvtxtOldPassrord" runat="server" ErrorMessage="Required"  SetFocusOnError="true" InitialValue="password you are using now"
                        ControlToValidate="txtOldPassrord" Display="Dynamic"></asp:RequiredFieldValidator>
                </section>
            <section class="grid_2 alpha">
            <label>New Password:</label>
            </section>
            <section class="grid_6 omega">
            <input type="text" id="txtNewPassword" name="txtNewPassword" runat="server" placeholder="min 5 to 7 character alpha numeric" class="text" pattern="[a-z A-Z 0-9]{5,7}" />
             <asp:RequiredFieldValidator ID="rfvtxtNewPassword" runat="server" ErrorMessage="Required"  SetFocusOnError="true" InitialValue="min 5 to 7 character alpha numeric"
                        ControlToValidate="txtNewPassword" Display="Dynamic"></asp:RequiredFieldValidator>
                </section>
            <section class="grid_2 alpha">
            <label>Confirm New Password:</label>
            </section>
            <section class="grid_6 omega">
            <input type="text" id="txtNewPasswordConfirm" name="txtNewPasswordConfirm" runat="server" placeholder="type again" class="text"  />
                   <asp:RequiredFieldValidator ID="rfvtxtNewPasswordConfirm" runat="server" ErrorMessage="Required"  SetFocusOnError="true" InitialValue="type again"
                        ControlToValidate="txtNewPasswordConfirm" Display="Dynamic"></asp:RequiredFieldValidator>
            </section>
            
            </section>
            </fieldset>
              </section>
</asp:Content>
